﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BPMN.Domain.Entity.SysDictonary
{
    /// <summary>
    /// 字典数据
    /// </summary>
    [Table("Dictionary")]
    public class Dictionary : Audit
    {
        /// <summary>
        /// 字典Id
        /// </summary>
        [Key]
        public int DicId { get; set; }
        /// <summary>
        /// 字典编号
        /// </summary>
        public string DicNo { get; set; }
        /// <summary>
        /// 字典名称
        /// </summary>
        public string DicName { get; set; }
        /// <summary>
        /// 父级ID
        /// </summary>
        public int Pid { get; set; }
        /// <summary>
        ///配置项
        /// </summary>
        public string Config { get; set; }
        /// <summary>
        ///sql语句
        /// </summary>
        public string DbSql { get; set; }
        /// <summary>
        ///DBServer
        /// </summary>
        public string DBServer { get; set; }
        /// <summary>
        ///排序号
        /// </summary>
        public int? OrderNo { get; set; }

        /// <summary>
        ///备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        ///是否启用
        /// </summary>
        public bool Enable { get; set; }
        /// <summary>
        ///
        /// </summary>
        public int? ModifyID { get; set; }
        /// <summary>
        /// 字典明细外键
        /// </summary>
        public int DicListId { get; set; }

    }
}
